Skip to content

Conversation

@FGasper
Copy link
Collaborator

@FGasper FGasper commented Nov 6, 2024

PR #30 added persistence of the change stream’s resume token but mishandled some of the refactoring by making every change stream iteration loop read all events.

This restores the intended logic: check for context cancellation or the end of the change stream after each event.

Copy link
Collaborator

@tdq45gj tdq45gj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@FGasper FGasper merged commit fa17104 into mongodb-labs:main Nov 6, 2024
5 checks passed
@FGasper FGasper deleted the REP-5201-fix-change-stream branch November 6, 2024 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants